package 第二次实验.第二个实验;

public class test {
    public static void main(String[] args) {
       LinkedBinaryTree a =new LinkedBinaryTree();
//      Object[] preSort= new Object[]{1, 2, 4, 8, 5, 3, 6, 7};
//     Object[] inSort=new Object[]{8, 4, 2, 5, 1, 6, 3, 7};
        Object[] inSort=new Object[]{"H","D","I","B","E","M","J","N","A","F","C","K","G","L"};
        Object[] preSort=new Object[]{"A","B","D","H","I","E","J","M","N","C","F","G","K","L"};
        a.ConTree(preSort,inSort);
        System.out.println(a.toString());

    }
}
